package com.yanfan.energy.mapper;

import com.yanfan.common.mybaitsPlus.mapper.BaseMapperPlus;
import com.yanfan.energy.domain.IbmsEnergyDeviceData;
import com.yanfan.energy.vo.EnergyFlowRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 能耗设备数据Mapper接口
 *
 * @author genluo
 * @date 2024-09-22
 */
public interface IbmsEnergyDeviceDataMapper extends BaseMapperPlus<IbmsEnergyDeviceData> {

     public  EnergyFlowRecord energyFlow(@Param("yearCount") String year, @Param("identifiers") List<String> identifiers);
//        EnergyFlowRecord energyFlow(@Param("yearCount") String year, @Param("identifiers") String identifiers);


    /**
     * 查询能耗设备数据列表  方便为了连表查询
     *
     * @param ibmsEnergyDeviceData 能耗设备数据
     * @return 能耗设备数据集合
     */
    public List<IbmsEnergyDeviceData> queryPageList(IbmsEnergyDeviceData ibmsEnergyDeviceData);


}
